package com.github.ompc.carrying.client;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 客户端启动类
 * @author admin
 *
 */
public class CarryingClientLauncher {

    private CarryingClientLauncher() {
        final ClassPathXmlApplicationContext ctx =
                new ClassPathXmlApplicationContext("classpath:/spring-carrying-client.xml");
        ctx.registerShutdownHook();
        ctx.getBean("carryingDataWorkerManager");

    }

    public static void main(String... args) {

        new CarryingClientLauncher();

    }
}
